import "ant-design-vue/es/style";
import { ConfigProvider, Button } from 'ant-design-vue';

import { createApp } from "vue";
import router from '@/router';
import icons from '@/icons';
import App from "@/App.vue";
// import Antd from "@/plugin/ant.js"; // 引入ant.js
import '@ant-design-vue/pro-layout/dist/style.less'; // pro-layout css or style.less
import ProLayout, { PageContainer } from '@ant-design-vue/pro-layout';
import '@/permission'

const app = createApp(App);
app.config.productionTip = false;

app.use(router);
app.use(icons);
// app.use(Antd);
app.use(ConfigProvider);
app.use(Button);
app.use(ProLayout);
app.use(PageContainer);
app.mount("#app");
